// const accountInfo = wx.getAccountInfoSync();// 获取当前帐号信息
// if(!accountInfo.miniProgram.envVersion){
//   console.error("获取运行环境失败!");
// }
/*
** - /api/user/login 登录接口
** - 
** - 
** - 
*/
const baseApi = {
  // 开发版 
	develop: "http://192.168.200.51:7779",
  // develop: "http://192.168.200.51:7779",
  // develop: "https://space.yltd360.com/prod-api",
  // develop: "https://3526510902.oicp.vip",
  // 192.168.200.2:8099
  
  // 体验版
     // trial: "https://space.yltd360.com/prod-api",
	 // trial: "http://192.168.200.51:7779",
	 trial: "http://192.168.200.51:7779",
	 
  // 正式版
  // release: "https://space.yltd360.com/prod-api",
  // release: "http://192.168.200.51:7779",
  release: "http://192.168.200.51:7779",
  
};
// const baseURL = baseApi[accountInfo.miniProgram.envVersion]
const Env = {
	// getDevBaseURL: () => baseURL, //域名
	getDevBaseURL: () => baseApi.release, //域名
	getAppID: () => "wx4fbb04b6a8c55b06", //
	isPDA: () => true, //true=PDA false=Android
	// getMenuList: () => baseApi.menuList
}
export default Env